package com.trimer.rpc.core.response;

import java.io.Serializable;

public class RpcResponse implements Serializable {

    private static final long serialVersionUID = -701120938312574409L;

    private String sid;
    private Class<?> resultType;
    private Object result;
    private Exception exception;

    public String getSid() {
        return sid;
    }
    public void setSid(String sid) {
        this.sid = sid;
    }
    public Class<?> getResultType() {
        return resultType;
    }
    public void setResultType(Class<?> resultType) {
        this.resultType = resultType;
    }
    public Object getResult() {
        return result;
    }
    public void setResult(Object result) {
        this.result = result;
    }

    public Exception getException() {
        return exception;
    }

    public void setException(Exception exception) {
        this.exception = exception;
    }
}